package com.fw.service.persistence;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.domain.Specification;

import com.fw.service.persistence.dto.BOUser;

/**
 * 
 * @author AS073
 *
 */
public interface BOUserPersistenceService {

    public List<BOUser> selectByUsernameAndStatus(String username, String status);

    public List<BOUser> selectByStatus(String status);

    public BOUser save(BOUser boUser);

    public BOUser findOne(Long id);

    public Page<BOUser> findAll(Specification<BOUser> specification, PageRequest pageRequest);

    public List<Object> selectDistinctLastUpdateBy();

    public List<Object> selectDistinctCreateBy();
}
